package com.itheima.aimobile.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.ai.tool.annotation.ToolParam;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("package_info") // 对应数据库表名
public class PackageInfo {
    @TableId(type = IdType.AUTO)
    private Long id; // 套餐ID
    @ToolParam(required = false,description = "套餐名称")
    private String packageName; // 套餐名称
    @ToolParam(required = false,description = "月租")
    private BigDecimal monthlyRent; // 月租
    @ToolParam(required = false,description = "流量描述")
    private String traffic; // 流量
    @ToolParam(required = false,description = "通话时长")
    private Integer callDuration; // 通话时长（分钟）
    @ToolParam(required = false,description = "附加服务")
    private String additionalServices; // 附加服务
    @ToolParam(required = false,description = "合约期")
    private Integer contractPeriod; // 合约期（月）
    @ToolParam(required = false,description = "优惠活动")
    private String promotion; // 优惠活动
    private LocalDateTime createdTime; // 创建时间
    private LocalDateTime updatedTime; // 更新时间
}
